package com.wangjie.extendsdemo;

public class Cat extends Animal {

    int num = 200;

    public Cat(String name, int age) {
        super(name, age);
    }

    public void eat(){
        System.out.println("饭量" + num);
    }
}
